package com.platform.mvc.good;

import com.platform.annotation.Table;
import com.platform.constant.ConstantInit;
import com.platform.mvc.base.BaseModel;


import org.apache.log4j.Logger;

/**
 *  model
 * @author 董华健  dongcb678@163.com
 */
@SuppressWarnings("unused")
//@Table(tableName = "fox_good")
public class Good extends BaseModel<Good> {

	private static final long serialVersionUID = 6761767368352810428L;

	private static Logger log = Logger.getLogger(Good.class);
	
	public static final Good dao = new Good();
	
	/**
	 * 字段描述： 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_ids = "ids";
	
	/**
	 * 字段描述： 
	 * 字段类型：bigint(20)  长度：null
	 */
	public static final String column_version = "version";
	
	/**
	 * 字段描述：类目 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_category = "category";
	
	/**
	 * 字段描述：档次 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_grade = "grade";
	
	/**
	 * 字段描述：人群 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_crowd = "crowd";
	
	/**
	 * 字段描述：风格 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_style = "style";
	
	/**
	 * 字段描述：上装 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_jacket = "jacket";
	
	/**
	 * 字段描述：下装 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_trousers = "trousers";
	
	/**
	 * 字段描述：标题 
	 * 字段类型：varchar(30)  长度：30
	 */
	public static final String column_title = "title";
	
	/**
	 * 字段描述：简介 
	 * 字段类型：varchar(256)  长度：256
	 */
	public static final String column_desc = "desc";
	
	/**
	 * 字段描述：标签 
	 * 字段类型：varchar(256)  长度：256
	 */
	public static final String column_label = "label";
	
	/**
	 * 字段描述：店铺分类 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_shopcategory = "shopcategory";
	
	/**
	 * 字段描述：编码 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_encode = "encode";
	
	/**
	 * 字段描述：减少库存方式 
	 * 字段类型：varchar(32)  长度：32
	 */
	public static final String column_inventorymethod = "inventorymethod";
	
	/**
	 * 字段描述：封面图 
	 * 字段类型：varchar(256)  长度：256
	 */
	public static final String column_headimage = "headimage";
	
	/**
	 * 字段描述：商品详情 
	 * 字段类型：text  长度：65535
	 */
	public static final String column_description = "description";
	
	/**
	 * 字段描述：穿着效果图片 
	 * 字段类型：varchar(256)  长度：256
	 */
	public static final String column_wearingimage = "wearingimage";
	
	/**
	 * 字段描述：整体效果图片 
	 * 字段类型：varchar(256)  长度：256
	 */
	public static final String column_integralstyleimage = "integralstyleimage";
	
	/**
	 * 字段描述：细节做工 
	 * 字段类型：varchar(256)  长度：256
	 */
	public static final String column_detailimage = "detailimage";
	
	/**
	 * 字段描述：包装展示图 
	 * 字段类型：varchar(256)  长度：256
	 */
	public static final String column_packagingimage = "packagingimage";
	
	/**
	 * 字段描述：服务说明 
	 * 字段类型：varchar(256)  长度：256
	 */
	public static final String column_servicedescimage = "servicedescimage";
	
	/**
	 * 字段描述：品牌LOGO 
	 * 字段类型：varchar(256)  长度：256
	 */
	public static final String column_logoimage = "logoimage";
	
	/**
	 * 字段描述：库存 
	 * 字段类型：int(10)  长度：null
	 */
	public static final String column_inventory = "inventory";
	
	/**
	 * 字段描述：单价 
	 * 字段类型：int(10)  长度：null
	 */
	public static final String column_price = "price";
	
	
	/**
	 * sqlId : platform.good.splitPageFrom
	 * 描述：分页from
	 */
	public static final String sqlId_splitPage_from = "platform.good.splitPageFrom";

	private String ids;
	private Long version;
	private String category;
	private String grade;
	private String crowd;
	private String style;
	private String jacket;
	private String trousers;
	private String title;
	private String desc;
	private String label;
	private String shopcategory;
	private String encode;
	private String inventorymethod;
	private String headimage;
	private String description;
	private String wearingimage;
	private String integralstyleimage;
	private String detailimage;
	private String packagingimage;
	private String servicedescimage;
	private String logoimage;
	private Integer inventory;
	private Integer price;

	public void setIds(String ids){
		set(column_ids, ids);
	}
	public <T> T getIds() {
		return get(column_ids);
	}
	public void setVersion(Long version){
		set(column_version, version);
	}
	public <T> T getVersion() {
		return get(column_version);
	}
	public void setCategory(String category){
		set(column_category, category);
	}
	public <T> T getCategory() {
		return get(column_category);
	}
	public void setGrade(String grade){
		set(column_grade, grade);
	}
	public <T> T getGrade() {
		return get(column_grade);
	}
	public void setCrowd(String crowd){
		set(column_crowd, crowd);
	}
	public <T> T getCrowd() {
		return get(column_crowd);
	}
	public void setStyle(String style){
		set(column_style, style);
	}
	public <T> T getStyle() {
		return get(column_style);
	}
	public void setJacket(String jacket){
		set(column_jacket, jacket);
	}
	public <T> T getJacket() {
		return get(column_jacket);
	}
	public void setTrousers(String trousers){
		set(column_trousers, trousers);
	}
	public <T> T getTrousers() {
		return get(column_trousers);
	}
	public void setTitle(String title){
		set(column_title, title);
	}
	public <T> T getTitle() {
		return get(column_title);
	}
	public void setDesc(String desc){
		set(column_desc, desc);
	}
	public <T> T getDesc() {
		return get(column_desc);
	}
	public void setLabel(String label){
		set(column_label, label);
	}
	public <T> T getLabel() {
		return get(column_label);
	}
	public void setShopcategory(String shopcategory){
		set(column_shopcategory, shopcategory);
	}
	public <T> T getShopcategory() {
		return get(column_shopcategory);
	}
	public void setEncode(String encode){
		set(column_encode, encode);
	}
	public <T> T getEncode() {
		return get(column_encode);
	}
	public void setInventorymethod(String inventorymethod){
		set(column_inventorymethod, inventorymethod);
	}
	public <T> T getInventorymethod() {
		return get(column_inventorymethod);
	}
	public void setHeadimage(String headimage){
		set(column_headimage, headimage);
	}
	public <T> T getHeadimage() {
		return get(column_headimage);
	}
	public void setDescription(String description){
		set(column_description, description);
	}
	public <T> T getDescription() {
		return get(column_description);
	}
	public void setWearingimage(String wearingimage){
		set(column_wearingimage, wearingimage);
	}
	public <T> T getWearingimage() {
		return get(column_wearingimage);
	}
	public void setIntegralstyleimage(String integralstyleimage){
		set(column_integralstyleimage, integralstyleimage);
	}
	public <T> T getIntegralstyleimage() {
		return get(column_integralstyleimage);
	}
	public void setDetailimage(String detailimage){
		set(column_detailimage, detailimage);
	}
	public <T> T getDetailimage() {
		return get(column_detailimage);
	}
	public void setPackagingimage(String packagingimage){
		set(column_packagingimage, packagingimage);
	}
	public <T> T getPackagingimage() {
		return get(column_packagingimage);
	}
	public void setServicedescimage(String servicedescimage){
		set(column_servicedescimage, servicedescimage);
	}
	public <T> T getServicedescimage() {
		return get(column_servicedescimage);
	}
	public void setLogoimage(String logoimage){
		set(column_logoimage, logoimage);
	}
	public <T> T getLogoimage() {
		return get(column_logoimage);
	}
	public void setInventory(Integer inventory){
		set(column_inventory, inventory);
	}
	public <T> T getInventory() {
		return get(column_inventory);
	}
	public void setPrice(Integer price){
		set(column_price, price);
	}
	public <T> T getPrice() {
		return get(column_price);
	}
	
}
